      <div class="body_content">
	 <div class="position">
	    <div class="left">
	       <div style="margin-bottom: 5px; margin-top: 10px;">
		   <label class="h3">
		       <b>Update Record</b>
		   </label>
	       </div>
	    </div>
	    <div class="right align_right">
		<input type="hidden" class="search_field" name="" id="" placeholder="Search"/>
	    </div>
	    <div class="hr"></div>
	    <div class="content">
	       <div class="left">
		  <div class="top">
		     <div class="update_record_header">
			<label class="h3">
			   <b>Update Invoice</b>
			</label>
		     </div>
		     <div class="update_record_content">
			<label class="h3">
			<!-- Update Invoice Single File Update Invoice -->
			   <b>1. Single File Update Invoice</b></label>
			   <br /><br />
			   <?php
			      $db = new Database();
			      $getSettings = $db->query("SELECT * FROM tbsettings");
			      foreach($getSettings as $value){
				  $Invoice = $value['UpdateInvoice'];
				  $Product = $value['UpdateProduct'];
				  $logo = $value['logo'];
				  $SystemName = $value['SystemName'];
				  $footer = $value['footer'];
				  $UpdaterewardPoints = $value['UpdaterewardPoints'];
				  $enabled = $value['enabled'];
			      }
			   ?>
			   <input type="button" name="btupdate_invoice" id="btupdate_invoice" rel="<?php echo $Invoice; ?>" action="Invoice" class="button btupdate_invoice" value="Update" />
		     </div>
		     <div style="float: left; width: 100%; margin-left: 120px;" class="display" id="load">
			<img src="/images/loader/loader.gif" />
		     </div>
		  </div>		  
		  <div class="hr"></div>
	       </div>
	       <div class="vr"></div>
	       <div class="right">
		  <div class="top">
		     <div class="update_record_header">
			<label class="h3">
			   <b>Update Redemption Product</b>
			</label>
		     </div>
		     <div class="update_record_content">
			<label class="h3">
			<!-- Update Product Single File Update Product -->
			   <b>1. Single File Update Product</b></label>
			   <br /><br />
			   <input type="submit" name="btupdate_product" id="btupdate_product" class="button btupdate_product" rel="<?php echo $Product; ?>" action="Product" value="Update" />
		     </div>
		     <div style="float: left; width: 100%; margin-left: 120px;" class="display" id="loadProduct">
			<img src="/images/loader/loader.gif" />
		     </div>
		  </div>
		  <div class="hr"></div>
		  </div>
	       </div>
	    </div>
	 <div style="float: left; width: 100%;  min-height: 300px;">
	    <?php
	    if($enabled=="1"){
	    ?>
	       <div style="margin-left: 5px;margin-bottom: 5px; margin-top: 20px;">
		  <label class="h3">
		     <b>Dealer Reward Points</b>
		  </label>
	       </div>
	       <div class="hr"></div>
	       <div class="left">
		  <div class="top">
		     <div class="update_record_header">
			<label class="h3">
			   <b>Update Reward Points</b>
			</label>
		     </div>
		     <div class="update_record_content">
			<label class="h3">
			<!-- Update Invoice Single File Update Invoice -->
			   <b>1. Single File Update Reward Points</b>
			</label>
			   <br /><br />
			   <input type="button" name="" id="" rel="<?php echo $UpdaterewardPoints; ?>" action="RewardPoints" class="button btupdate_rewardPoints" value="Update" />
		     </div>
		     <div style="float: left; width: 100%; margin-left: 120px;" class="display" id="loadRewardPoints">
			<img src="/images/loader/loader.gif" />
		     </div>
		  </div>	
	       </div>
	    <?php
	    }
	    ?>
	 </div>
<script>
   setActivNav('home');
</script>        